extends layout
block content
    link(rel='stylesheet' href='/stylesheets/login.css')
    div(class='container')
        div(class='form')
            form(action='/user/register' method='post')
                h2 用户注册
                div(class='input-box')
                    input(type='text' name='name' min='10' max='30' placeholder='输入账号')
                    input(type='password' name='pwd' min='6' max='16' placeholder='输入密码')
                    input(type='password' name='pwd2' min='6' max='16' placeholder='再次输入密码')
                br
                -
                if state
                    div(style='color:red; padding:5px;')= msg
                input(type='submit' value='注册' class='btn')
                br
                a(href='/user/login') 有账号？点击登录